package com.tianda.rbac_demo.mapper;

import com.tianda.rbac_demo.domain.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author jinken
* @description 针对表【t_menu】的数据库操作Mapper
* @createDate 2025-09-10 14:46:14
* @Entity com.tianda.rbac_demo.domain.Menu
*/
public interface MenuMapper extends BaseMapper<Menu> {

    /**
     * 查询当前用户的所有权限/菜单
     * @param username
     * @return
     */
    List<Menu> findAllPermission(String username);

}




